//
//  UIButtonAdditions.h
//  Tint
//
//  Created by Kevin Wu on 4/18/12.
//  Copyright (c) 2012 Telligenty. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface UIButton (Tint)

/*
 * Visible property
 */
@property(nonatomic, copy) NSString *normalTitle;
@property(nonatomic, copy) NSString *highlightedTitle;
@property(nonatomic, copy) NSString *disabledTitle;
@property(nonatomic, copy) NSString *selectedTitle;

@property(nonatomic, retain) UIColor *normalTitleColor;
@property(nonatomic, retain) UIColor *highlightedTitleColor;
@property(nonatomic, retain) UIColor *disabledTitleColor;
@property(nonatomic, retain) UIColor *selectedTitleColor;

@property(nonatomic, retain) UIColor *normalTitleShadowColor;
@property(nonatomic, retain) UIColor *highlightedTitleShadowColor;
@property(nonatomic, retain) UIColor *disabledTitleShadowColor;
@property(nonatomic, retain) UIColor *selectedTitleShadowColor;

@property(nonatomic, retain) UIImage *normalImage;
@property(nonatomic, retain) UIImage *highlightedImage;
@property(nonatomic, retain) UIImage *disabledImage;
@property(nonatomic, retain) UIImage *selectedImage;

@property(nonatomic, retain) UIImage *normalBackgroundImage;
@property(nonatomic, retain) UIImage *highlightedBackgroundImage;
@property(nonatomic, retain) UIImage *disabledBackgroundImage;
@property(nonatomic, retain) UIImage *selectedBackgroundImage;

/*
 * Element alignment
 * TODO: update implementation
 */
- (void)centerButtonAndImage;
- (void)centerButtonAndImageWithSpacing:(CGFloat)spacing 
                       horizontalOffset:(CGFloat)horizontalOffset 
                         verticalOffset:(CGFloat)verticalOffset;

@end
